package com.informa.datastorm;

import javax.sql.DataSource;

import org.datastorm.DataStorm;
import org.unitils.database.UnitilsDataSourceFactoryBean;

public class DatastormUtils {

	public static void showDatabase() {
		
		try {
			DataSource dataSource = (DataSource) new UnitilsDataSourceFactoryBean().getObject();
			new DataStorm().show(dataSource);
		} catch (Exception e) {
			throw new RuntimeException(e);
		}
		
	}
	
}
